package com.bytz.modules.cms.auditBatch.service.impl;

import com.bytz.modules.cms.auditBatch.service.AbstractAuditBatchService;
import com.bytz.modules.cms.auditBatch.service.IChangeService;
import com.bytz.modules.cms.auditBatch.service.change.BatchResellerChangeServiceImpl;
import com.bytz.modules.cms.reseller.entity.ResellerLevelChange;
import com.bytz.modules.cms.user.constants.AuditBatchConstants;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AuditBatchResellerLevelServiceImpl extends AbstractAuditBatchService<ResellerLevelChange> {

    @Autowired
    private BatchResellerChangeServiceImpl changeService;

    @Override
    protected IChangeService<ResellerLevelChange> getChangeService() {
        return changeService;
    }

    @Override
    protected String getType() {
        return AuditBatchConstants.Type.RESELLER_LEVEL;
    }
}
